package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.product.ProductUnit;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * title:
 * author: zgl
 * date: 2024/1/4
 * description：
 */
@Mapper
public interface ProductUnitMapper {
    List<ProductUnit> getUnitList();

    ProductUnit getUnitById(Long id);

    void deletedUnit(Long id);

    void updateUnit(ProductUnit unit);

    void saveUnit(ProductUnit unit);
}
